<script setup lang="ts">
    defineProps({
        title: {
            type: String,
            defaut: ''
        }
    })
</script>

<template>
    <p class="title">{{title}}</p>
    <p class="bg"></p>
</template>

<style scoped lang="scss">
    .title {
        font-size: 20px;
    }
    .bg {
        width: 68px;
        height: 7px;
        background: url("@/views/screen/images/dataScreen-title.png") no-repeat;
        background-size: 100% 100%;
        margin-top: 10px;
    }
</style>
